///
/// <pre>
///     author : Wp
///     e-mail : 神舟友创
///     time   : 2019/7/7 8:35 PM
///     desc   : 接口请求方法全局常量
///     version: 1.0
/// </pre>
///
class Api {
//  static const String BASE_URL = 'http://dev.dingdian.xin/';
//  static const String BASE_URL = 'http://192.168.8.165:8090/schoolServer/';
//  static const String BASE_URL = 'http://192.168.1.80:8090/schoolServer/';
//  static const String BASE_URL = 'http://192.168.1.66:8090/schoolServer/';
//  static const String BASE_URL = 'http://192.168.1.113:8090/schoolServer/';
  static const String BASE_URL = 'http://39.97.97.181/schoolServer/';
  ///---------------------------图片地址---------------------------
  static const String baseImageUrl = '${BASE_URL}images/';

  ///登录
  static const String LOGIN_URL = '/ddaigo-platform/user/loginv3';
  ///获取门店信息
  static const String getStoreByNo = '/ddaigo-platform/store/getStoreByNo';
  ///顾客退货列表
  static const String orders = '/ddaigo-platform/store/returned/orders';
  ///获取退货单信息
  static const String order = '/ddaigo-platform/store/returned/order';
  ///获取门店信息
  static const String get_home_storeSalesStatistics = '/ddaigo-platform/statistics/storeSalesStatistics';
  ///---------------------------校园接口---------------------------
  ///注册校验手机号
  static const String registerVerifyPhoneForMobile = 'api/mobile/registerVerifyPhoneForMobile';
  ///注册
  static const String registerByPhoneForMobile = 'api/mobile/registerByPhoneForMobile';
  ///登录
  static const String loginByPwdForMobile = 'api/mobile/loginByPwdForMobile';
  ///根据手机号查关联孩子/班级
  static const String findStudentsOrClassesByPhoneForMobile = 'api/mobile/findStudentsOrClassesByPhoneForMobile';
  ///个人中心重置密码
  static const String resetPassword = 'api/mobile/resetPassword';
  ///获取所有学校
  static const String getAllSchoolsForMobile = 'api/mobile/getAllSchoolsForMobile';
  ///根据学校id获取班级
  static const String findClassesBySchoolIdForMobile = 'api/mobile/findClassesBySchoolIdForMobile';
  ///根据班级id获取学生
  static const String findStudentsByClassesIdForMobile = 'api/mobile/findStudentsByClassesIdForMobile';
  ///变更手机号
  static const String changeMobilePhoneForMobile = 'api/mobile/changeMobilePhoneForMobile';
  ///根据id获取变更记录
  static const String findChangeNumberByIdForMobile = 'api/mobile/findChangeNumberByIdForMobile';
  ///家长端-孩子今日
  static const String query_child_today_list = 'api/mobile/queryChildTodayHistory';
  ///家长端-孩子今日-历史照片查询
  static const String query_child_today_history = 'api/mobile/queryChildTodayHistoryImageCount';

  ///查找系统消息 - 分页
  static const String findSystemNewsForMobile = 'api/mobile/findSystemNewsForMobile';
  ///校内消息 - 分页
  static const String findNewsBySchoolIdForMobile = 'api/mobile/findNewsBySchoolIdForMobile';
  ///banner信息 - 分页
  static const String findBannersByMobilePhoneForMobile = 'api/mobile/findBannersByMobilePhoneForMobile';
   ///保存作业
  static const String saveTaskForMobile = 'api/mobile/saveTaskForMobile';
  ///根据教师信息查找教师作业
  static const String findTasksByTeacherForMobile = 'api/mobile/findTasksByTeacherForMobile';
  ///根据班级信息查找教师作业
  static const String findTasksByClassForMobile = 'api/mobile/findTasksByClassForMobile';

  ///根据StudentId获取作业信息 - 家长端
  static const String findTasksByStudentIdForMobile = 'api/mobile/findTasksByStudentIdForMobile';
  ///根据教师id获取教师信息
  static const String findTeacherByTeacherIdForMobile = 'api/mobile/findTeacherByTeacherIdForMobile';
  ///查询家长端个人中心信息
  static const String findParentMyInfoForMobile = 'api/mobile/findParentMyInfoForMobile';
  ///根据手机号查询教师信息
  static const String findTeacherByMobilePhoneForMobile = 'api/mobile/findTeacherByMobilePhoneForMobile';
  ///根据手机号查询校长信息
  static const String findSchoolByMobilePhoneForMobile = 'api/mobile/findSchoolByMobilePhoneForMobile';
  ///查询变更照片页面信息
  static const String findChangeHeadInfoForMobile = 'api/mobile/findChangeHeadInfoForMobile';
  ///根据学校/班级/时间查询课表
  static const String findCourseBySchoolClassForMobile = 'api/mobile/findCourseBySchoolClassForMobile';
  ///变更头像
  static const String changeHeadPhotoForMobile = 'api/mobile/changeHeadPhotoForMobile';
  ///课程变更（教师端提交）
  static const String changeCourseByMainIdForMobile = 'api/mobile/changeCourseByMainIdForMobile';
  ///根据课程主表id查课程表更（默认最新一条）
  static const String findAppCourseChangeByCourseMainIdForMobile = 'api/mobile/findAppCourseChangeByCourseMainIdForMobile';
  ///发送验证码
  static const String sendYzmByPhone = 'api/mobile/sendYzmByPhone';
  ///短信验证码登录
  static const String loginByYzmForMobile = 'api/mobile/loginByYzmForMobile';
  ///忘记密码通过验证码
  static const String forgetPwdByMessageCode = 'api/mobile/forgetPwdByMessageCode';

  ///---------------------------文件上传-----------------------------
  static const String upload = 'api/file/upload';

  ///---------------------------查询-----------------------------
  ///根据班级id查询班级信息
  static const String findClassByIdForMobile = 'api/mobile/findClassByIdForMobile';
  /// 查询学生信息
  static const String query_student_by_id = 'api/mobile/queryStudentById';
  ///根据id获取教师信息
  static const String findTeacherByIdForMobile = 'api/mobile/findTeacherByIdForMobile';

  ///---------------------------请假-------------------------------
  /// 教师端-班级请假列表
  static const String query_classes_leave_List = 'api/mobile/queryClassesLeaveList';
  /// 设置请假状态已阅
  static const String update_classes_leave_state = 'api/mobile/updateClassesLeaveState';
  /// 请假-保存学生请假申请
  static const String save_leave_student = 'api/mobile/saveStudentLeave';
  /// 请假-孩子请假列表
  static const String query_child_leave_List = 'api/mobile/queryChildLeaveList';
  /// 查询学生请假信息
  static const String query_student_leave_info = 'api/mobile/queryStudentLeaveInfo';
  /// 查询教师请假信息
  static const String query_teacher_leave_info = 'api/mobile/queryTeacherLeaveInfo';
  /// 请假-保存教师请假申请
  static const String save_leave_teacher = 'api/mobile/saveTeacherLeave';
  /// 请假-教师请假列表
  static const String query_teacher_leave_List = 'api/mobile/queryTeacherLeaveList';

  ///---------------------------考勤-------------------------------
  static const String query_attendance_ = 'api/mobile/updateClassesLeaveState';



}



